module FormatTime
  extend ActiveSupport::Concern

  def format_created_at
    created_at.strftime("%Y-%m-%d")
  end

  def format_started_at
    started_at.strftime("%Y-%m-%d %H:%M:%S")
  end

  def format_ended_at
    ended_at.strftime("%Y-%m-%d %H:%M:%S")
  end

  def format_occur_on
    occur_on.strftime("%Y-%m-%d")
  end

  def set_to_time

  end
end
